Skip to content

feat(website): Add Simplified Chinese to website(#348)#351

Open
pluto-han wants to merge 3 commits intojvondermarck:mainfrom
pluto-han:add-simplified-chinese-to-website
Open

feat(website): Add Simplified Chinese to website(#348)#351
pluto-han wants to merge 3 commits intojvondermarck:mainfrom
pluto-han:add-simplified-chinese-to-website

Conversation

@pluto-han
Copy link

@pluto-han pluto-han commented Feb 14, 2026

✅ PR Checklist

Tip

Please check the boxes below to confirm you followed the contribution guidelines:

  • My PR title follows the format: type(scope): description (#issue) (scope and #issue optional)
  • I used the correct type: feat, fix, refactor, docs, test, chore
  • I reviewed my code and removed unnecessary debug logs or comments.
  • I tested my changes and verified they work as expected.
  • I ran the project to confirm it compiles and runs correctly.
  • I read the Code of Conduct and the Contribution Guidelines.

📝 What does this PR do?

    1. add Simplified Chinese to the website
    1. replace hardcoded strings in components.NavBar.tsx (i.e. star and sponsor) with dict references (i.e. {dict.NavBar.sponsor})
    1. Fonts used in this website do not contain Chinese characters, so I introduced an open-source font (https://github.com/TakWolf/fusion-pixel-font). But if Chinese characters and Latin letters are used together, the text would look weird (see screenshot). I guess this could be resulted from baseline differences of different fonts. So for "view on GitHub", I did not translate "view on" and only kept “GitHub”.
image

🔗 Related Issue

Link to the issue this PR addresses (if any)

📸 Screenshots / Demos (if applicable)

image image image

💬 Extra Notes (Optional)

  • If you want me to translate the sponsor description on homepage, i can do it as well.
  • I can also work on adding Simplified Chinese to the game.

❤️ Thanks again for your contribution to Dinosaur Exploder!
Your efforts help make this project awesome for everyone. 🦖✨jiu

@vercel
Copy link

vercel bot commented Feb 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dinosaur-exploder Ready Ready Preview, Comment Feb 14, 2026 11:59pm

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @pluto-han, thank you for submitting in Dinosaur Exploder 🦖 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify your PR is up-to-date with the repository /dinosaur-exploder main branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • ✅ Verify all Dinosaur Exploder Continuous Integration (CI) checks are passing.
  • ✅ Verify that you have well fill out the different checkboxes in the PR template.
  • ⚠️ Check that your code is clean: no code redundancy, variable and method names are correct, your code is understandable to everyone, and so on.
  • 💡 Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant